package com.dnf.dao;

import java.util.List;

import org.apache.ibatis.session.SqlSession;

import com.dnf.bean.Goods;

/**
 * @author Administrator
 *
 */
public interface GoodsDao {
	public int addGoods(SqlSession session,Goods goods);
	public Goods getGoods(SqlSession session,int id);
	public List<Goods> getAllGoods(SqlSession session);
	public int getGoodsByNameAndDate(SqlSession session,Goods goods);
}
